package com.yuandian.customer.perception.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuandian.api.customer_perception.po.HighFrequencyAlarmParams;
import com.yuandian.api.customer_perception.vo.HighFrequencyAlarmVo;
import com.yuandian.api.customer_perception.vo.StatTypeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 说明：高频告警mapper接口
 * @Author yanjun
 * @Date 2021/5/10 8:44
 */
@Mapper
public interface HighFrequencyAlarmMapper {

    /**
     * 查询高频告警列表
     * @param params 高频告警请求对象
     * @return 高频告警vo对象集合
     */
    //@SqlAlias("客户感知-查询高频告警列表")
    List<HighFrequencyAlarmVo> queryHighFrequencyAlarmList(
			@Param("params") HighFrequencyAlarmParams params, Page<HighFrequencyAlarmVo> page);

    /**
     * 查询统计类型列表
     * @return 统计类型
     */
    //@SqlAlias("客户感知-查询统计类型列表下拉框")
    List<StatTypeVo> queryStatTypeList ();
}
